package com.icss.train_sys_back;

import cn.dev33.satoken.SaManager;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

@SpringBootApplication
@MapperScan("com.icss.train_sys_back.mapper")
@EnableElasticsearchRepositories("com.icss.train_sys_back.repository")
public class TrainSysBackApplication {

    public static void main(String[] args) {
        SpringApplication.run(TrainSysBackApplication.class, args);
        System.out.println("启动成功，Sa-Token 配置如下：" + SaManager.getConfig());
    }

}
